<?php

$matchlist = array();

$items = array();
$item = array(starttime=>'2013-02-31',host=>'波尔图',visit=>'勒沃库森',score=>'1:0',state=>'完',result=>'胜',leaf=>true);
$items[] = $item;
$items[] = $item;
$matchlist[] = array(starttime=>'2013-02-31',host=>'AC 米兰',visit=>'巴塞罗那',score=>'2:0',state=>'完',result=>'胜',items=>$items);
$matchlist[] = array(starttime=>'2013-02-31',host=>'AC1 米兰',visit=>'巴塞罗那',score=>'2:0',state=>'完',result=>'胜',items=>$items);
$matchlist[] = array(starttime=>'2013-02-31',host=>'AC2 米兰',visit=>'巴塞罗那',score=>'2:0',state=>'完',result=>'胜',items=>$items);
$matchlist[] = array(starttime=>'2013-02-31',host=>'AC3 米兰',visit=>'巴塞罗那',score=>'2:0',state=>'完',result=>'胜',items=>$items);
$matchlist[] = array(starttime=>'2013-02-31',host=>'AC4 米兰',visit=>'巴塞罗那',score=>'2:0',state=>'完',result=>'胜',items=>$items);

$respose = array(items=>$matchlist);

echo json_encode($respose);
